package com.slx.word_search;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        System.out.println(solution.exist(new char[][]{
                "abc".toCharArray(), "aed".toCharArray(), "afg".toCharArray()
        }, "abcdefg"));
    }
}
